package com.blueheart.easyexcel.write;

import com.alibaba.excel.EasyExcel;

import java.util.Collection;

public class ExcelWriteHelper {

    public static void writeExcel(String fileName,final Collection<WriteVO> data) throws Exception {

        EasyExcel.write(fileName,WriteVO.class)
            .sheet("模板")
            .doWrite(data);
    }

}
